#pragma once

#include "NFServerComm/NFServerCommon/NFIDescStore.h"
#include "NFServerComm/NFServerCommon/NFIDescTemplate.h"
#include "NFLogicCommon/NFDescStoreMacrosDefine.h"
#include "NFLogicCommon/NFDescStoreTypeDefines.h"
#include "E_EquipStrengthData.nanopb.h"
#ifndef MAX_EQUIPSTRENGTHDATA_EQUIPSTRENGTHTICKET_NUM
#define MAX_EQUIPSTRENGTHDATA_EQUIPSTRENGTHTICKET_NUM 50
#endif

class EquipStrengthTicketDesc : public NFI_DESC_TEMPLATE_MACRO(EquipStrengthTicketDesc, E_EquipStrengthTicket, EOT_CONST_EQUIPSTRENGTHDATA_EQUIPSTRENGTHTICKET_DESC_ID, MAX_EQUIPSTRENGTHDATA_EQUIPSTRENGTHTICKET_NUM)
public:
	EquipStrengthTicketDesc();
	virtual ~EquipStrengthTicketDesc();
	int CreateInit();
	int ResumeInit();
public:
	int Load(NFResDb *pDB) override;
	int LoadDB(NFResDb *pDB) override;
	int CheckWhenAllDataLoaded() override;
};
